package com.nian.db.hive.model;

import lombok.Data;

/**
 * 用途：
 * 开发：zhangmj
 * 日期：2020/4/25 0025 20:25
 */
@Data
public class StudentModel {

    private Integer id;

    private String name;

    private String age;

    private String mobilePhone;


    public static String getInitSql(){
        return "create table student1(id int, name string,age int, mobile_phone string) ROW FORMAT DELIMITED FIELDS TERMINATED BY '\\t' STORED AS TEXTFILE";
    }
}
